//
//  AppViewController.m
//  OpenGLES_Learning
//
//  Created by Mac Center on 7/26/13.
//  Copyright (c) 2013 Mac Center. All rights reserved.
//

#import "AppViewController.h"

@interface AppViewController ()

@end

@implementation AppViewController
@synthesize deckView;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (void)viewDidUnLoad {
    self.deckView = nil;
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

+(AppViewController *)shared {
    static AppViewController *shared = nil;
    
    if(shared == nil) {
        shared = [[AppViewController alloc] init];
    }
    return shared;
}

@end
